import LayoutMain from '@/layout';
import setting from '@/setting';
let routePre = setting.routePre;

const pre = 'systemtype_'
export default {
  path: routePre + '/systemtype',
  name: 'systemtype',
  header: 'systemtype',
  redirect: {
    name: `${pre}list`,
  },
  meta: {
    auth: true
  },
  component: LayoutMain,
  children: [
    {
      path: 'list',
      name: `${pre}list`,
      meta: {
        auth: ['admin-systemtype-list'],
        title: '类型管理',
      },
      component: () => import('@/pages/systemtype/index.vue'),
    },
    {
      path: 'edit',
      name: `${pre}info`,
      meta: {
        auth: ['user-systemtype-info'],
        title: '类型详情',
      },
      component: () => import('@/pages/systemtype/edit.vue'),
    },
  ],
};